<div bsModal #createOrEditModal="bs-modal" class="modal fade" tabindex="-1" role="dialog"
    aria-labelledby="createOrEditModal" aria-hidden="true" [config]="{ backdrop: 'static' }"
    (onHidden)="onHidden($event)">
    <div class="modal-dialog">
        <div class="modal-content">
            <form *ngIf="active" #editForm="ngForm" novalidate autocomplete="off">
                <div class="modal-header">
                    <div class="col-md-3">
                        <h4 class="modal-title">
                            <span></span>
                        </h4>
                    </div>

                    <div class="col-md-3">
                        <button type="button" class="close" (click)="close()" [attr.aria-label]="l('Close')">
                            <span aria-hidden="true">&times;</span>
                        </button>
                    </div>
                </div>

                <div class="modal-body">
                    <div class="primeng-datatable-container" [busyIf]="primengTableHelper.isLoading">
                        <div class="m-subheader">
                            <div class="row">
                                <div class="col-12 "></div>
                            </div>
                        </div>

                        <div class="row align-items-center">
                            <div class="col-md-6">
                                <h4 class="m-subheader__title">更改状态</h4>
                            </div>
                        </div>
                        <camc-dropdown-auto [options]="status" name="status" [(ngModel)]="statu"
                            class="float-left width-percent-100">
                        </camc-dropdown-auto>
                    </div>
                </div>
                <div class="modal-footer">
                    <button [disabled]="saving" type="button" class="btn btn-default" (click)="close()">
                        {{ l('Cancel') }}
                    </button>
                    <button type="button" (click)="save()" class="btn btn-primary blue"
                        [disabled]="!editForm.form.valid" [buttonBusy]="saving" [busyText]="l('SavingWithThreeDot')">
                        <i class="fa fa-save"></i>
                        <span>{{ l('Save') }}</span>
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>